package cn.hinglo.gameclaw.im.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @createTime: 2018/3/6
 * @author: HingLo
 * @description: 聊天室
 */
@Data
@Entity
@Table(name = "chat_room")
public class ChatRoom implements Serializable {
    /**
     * 聊天室的Id
     */
    @Id
    @Column(name = "room_id")
    private Long roomid;
    /**
     * 聊天室的名称
     */
    private String name;
    /**
     * 公告
     */
    private String announcement;
    /**
     * 直播地址
     */
    private String broadcasturl;
    /***
     * 扩展字段
     */
    private String ext;
    /***
     * true或false,是否需要发送更新通知事件，默认true
     */
    private String needNotify;
    /**
     * 通知事件扩展字段，长度限制2048
     */
    private String notifyExt;


}
